//
//  BCDebugDirectoryBrowserPage.h
//  BCFileExplorer
//
//  Created by Ye Qing on 16/11/3.
//  Copyright © 2016年 Ye Qing. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BCPathItem : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy, readonly) NSString *path;
+ (instancetype)itemWithPath:(NSString *)path;
+ (instancetype)itemWithName:(NSString *)name path:(NSString *)path;
@end

@interface BCDebugDirectoryBrowserPage : UIViewController

/**
 page title，默认使用path
 */
@property (nonatomic, strong) NSString              *bctitle;
#pragma mark - system
- (instancetype)initWithPath:(NSString *)path;


#pragma mark - public
+ (NSArray<BCPathItem *> *)favoritePathItems;
+ (void)deleteFavoritePathItemWithItem:(BCPathItem *)item;

@end
